tools/libx[cl]: Don't use HVM_PARAM_PAE_ENABLED as a function parameter
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Feb 2020 13:30:18 +0000 (13:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 17 Feb 2020 19:10:55 +0000 (19:10 +0000)
commit8171e0796542e11c2d5067f86cc69201c2584501
tree63b8db3c7b6e61abe8c66e674fc8ce56567d982e
parent709d3ddea2d5e750bf1bc889edc76807c364a2d7
tools/libx[cl]: Don't use HVM_PARAM_PAE_ENABLED as a function parameter

HVM_PARAM_PAE_ENABLED is set and consumed by the toolstack only.  It is in
practice a complicated and non-standard way of passing a boolean parameter
into xc_cpuid_apply_policy().

This is silly.  Pass PAE as a regular parameter instead.

In libxl__cpuid_legacy(), leave a rather better explaination of why only HVM
guests have a choice in PAE setting.

No change in how a guest is constructed.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_cpuid_x86.c
tools/libxl/libxl_cpuid.c